import './assets/main.css'
import "element-plus/dist/index.css";
import 'normalize.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from "@element-plus/icons-vue"//
import App from './App.vue'
import router from './router'
import checkPermission from './router/permission';


const app = createApp(App)
checkPermission(router)
app.use(createPinia())
app.use(router)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}//
app.mount('#app')
